import httpInstance from '@/utils/https.js'



// 获取轮播图
export function getBannerListApi(params = {}){
  const {distributionSite = '1'} = params

  return httpInstance({
    url:"/home/banner",
    params: {
      distributionSite
    }
  })
}

export const FindNewApi = () => {
return httpInstance({
  url: '/home/new'
})
}

export const FindHotApi = () =>{
  return httpInstance({
    url: "/home/hot"
  })
}

export const GetGoodsApi = ()=> {
  return httpInstance({
    url:"/home/goods"
  })
}
